package work.atpgroup.entity;

import java.util.Date;

/**
 * 用于  从资源id和资源路径之间的映射，在网页中
 * **/
public class ResourceLink {
    private Integer resourceId;//资源id
    private String path;//资源路径
    private Integer userId;//所属用户id
    private Date date;//资源的上传时间，用于用户选择资源时进行排序展示
    private Boolean notThumbnail;//是否是缩略图，附加，前期先不使用缩略图，后期为了节省带宽，可以使用缩略图
    private Boolean status;
    public ResourceLink() {
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getResourceId() {
        return resourceId;
    }

    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Boolean getNotThumbnail() {
        return notThumbnail;
    }

    public void setNotThumbnail(Boolean notThumbnail) {
        this.notThumbnail = notThumbnail;
    }

    @Override
    public String toString() {
        return "ResourceLink{" +
                "resourceId=" + resourceId +
                ", path='" + path + '\'' +
                ", userId=" + userId +
                ", date=" + date +
                ", notThumbnail=" + notThumbnail +
                ", status=" + status +
                '}';
    }
}
